<template>
  <div class="home">
    <button @click="jump">B跳转</button>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import HelloWorld from "@/components/HelloWorld.vue"; // @ is an alias to /src

@Component({
  components: {
    HelloWorld
  }
})
export default class My extends Vue {
  jump() {
    window.location.href = "/house";
  }
}
</script>
